package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Emp;
import com.itheima.pojo.EmpQueryParam;
import com.itheima.pojo.PageResult;

public interface EmpService extends IService<Emp> {
    /**
     * 分页查询
     * @param param
     * @return
     */
    PageResult<Emp> getpageResult(EmpQueryParam param);

    /**
     * 新增员工
     * @param emp
     */
    void saveemp(Emp emp);
}
